package com.tj.collection.enums;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2019-09-04
 * Time: 18:32
 */
public enum AllocationBatchEnum {

    INIT(0, "初始化"),
    SUCCESS(1, "成功"),
    OVERDUE(2, "过期"),
    WAITING_REFRESH(3, "等待刷新"),
    END(4, "终止");

    private Integer status;

    private String desc;

    AllocationBatchEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }


    public Integer getStatus() {
        return status;
    }

    public AllocationBatchEnum setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public AllocationBatchEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }}
